package org.example.Day6.Hash;

import java.util.HashMap;
import java.util.Map;

public class HashMapTest1 {
    public static void main(String[] args){
        Map<Student,String> map = new HashMap<>();
        map.put(new Student("蜘蛛精", 25, 168.5), "盘丝洞");
        map.put(new Student("小丑精", 25, 168.5), "⽔帘洞");
        map.put(new Student("⾄尊宝", 23, 163.5), "⽔帘洞");
        map.put(new Student("⽜魔王", 28, 183.5), "⽜头⼭");
        System.out.println(map);
    }
}
